package com.auxgroup.smarthome.business.service;

import com.auxgroup.bridge.app.inner.vo.AppUserPushVo;
import com.auxgroup.bridge.app.inner.vo.AppUserVo;
import com.auxgroup.bridge.business.inner.vo.DeviceUserListVo;
import com.auxgroup.bridge.business.inner.vo.UserDeviceListVo;
import com.auxgroup.smarthome.business.service.inner.AppUserDBInnerService;
import com.auxgroup.smarthome.syscode.BusinessCode;
import com.auxgroup.smarthome.utils.PageContent;
import com.auxgroup.smarthome.web.ApiResponse;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by niuGuangzhe on 2017/8/10.
 */
@Component
public class AppUserDBInnerServiceFallback implements AppUserDBInnerService {

    @Override
    public ApiResponse<PageContent<AppUserVo>> getAppUserList(String keywords, Integer page, Integer size) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<List<AppUserPushVo>> filterUsers(String gender, Map map) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<PageContent<UserDeviceListVo>> getUserDeviceList(String uid, Integer page, Integer size) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<AppUserVo> getAppUser(String uid) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<PageContent<DeviceUserListVo>> getDeviceUserList(String mac, Integer page, Integer size) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<List<AppUserVo>> getAllAppUser(String keywords) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }
}
